-
-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TASK: Refactor Validator translations to Neos.Neos.Ui package #3614
base: 9.0
Are you sure you want to change the base?
TASK: Refactor Validator translations to Neos.Neos.Ui package #3614
Conversation
ddb62c8
to
03eba86
Compare
There is a failing unit test caused by this change (see the end of the console output):
|
Now e2e are failing 😅 |
Well thats why they dont work yet ^^ (see 9.0 branch) #3546 |
Ahh i see :) So this PR should be fine then. |
ill give you my approval after we have merged the e2e ;) maybe they also cover the labels somewhere ^^ |
@crydotsnake you can now rebase this pr or merge master and the tests should be green ;) |
afe8ecf
to
40d3a07
Compare
Green light ;) @mhsdesign |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the translation we use Weblate.
We are just allowed to change the EN-files in the code and Weblate will catch them up and create the corresponding keys in other languages.
Not sure how to proceed with this "move" of keys, but I guess there is something in weblate to do so. Otherwise we have to copy them there manually.
FYI found this issue which might be solved #2421 |
What's the state with this one? |
What I did
I added the translations of our validators from the Neos.Neos package directly too the Neos.Neos.Ui package.
How I did it
Moved the translations over, and adjusted the Validator Components to load the correct translations.
How to verify it
Checkout this PR in combination with: neos/neos-development-collection#4493
and add a Validator to your NodeType. You should see, that the translation is still working.